package com.itheima.zixi5.XianchengTongbu.LockSuo;

public class DrawThread extends  Thread{
    private Account account;
    public DrawThread(Account account, String name) {
        super(name);
        this.account = account;
    }
    @Override
    public void run() {
        account.drawMoney(100000);
    }
}
